package com.rychlickikicior.kitijdb;

import java.io.InputStream;
import java.util.Properties;

/**
 *
 * @author kitikat
 */
abstract class SettingsReader {
    public enum SettingsType { XML };

    protected SettingsReader() {}

    public static SettingsReader createReader(SettingsType type, InputStream is) {
        SettingsReader reader = null;
        switch (type) {
            case XML:
                reader = new XMLSettingsReader(is);
            break;
        }
        return reader;
    }

    public abstract QueryData getQueryData();

    public abstract Properties getProperties();
}
